//
//  SCAudioVisualTableView.h
//  OurMoon
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 sc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VideoListModel.h"
#import "SCRadioListTableCell.h"
#import "SCRadioModel.h"
#import "SCRadioSectionModel.h"
#import "SCRadioSectionModel.h"
typedef NS_ENUM(NSInteger, SCTableViewKind) {
    SCTableViewByVideo,
    SCTableViewByRadio,
};

@protocol VideoPlayViewControllerDelegate <NSObject>
- (void)VideoPlayViewControllerJump:(SCRadioSectionModel *)radioSectionModel;
@end

@protocol RadioPlayViewControllerDelegate <NSObject>
- (void)RadioPlayViewControllerJump:(SCRadioModel *)radioListModel;
@end

@protocol RadioMoreViewControllerDelegate <NSObject>

- (void)RadioMoreViewControllerJump:(SCRadioSectionModel *)radioSectionModel;

@end

@interface SCAudioVisualTableView : UIView<UITableViewDelegate, UITableViewDataSource, SCRadioJumpPLayDetailDelegate>
@property(nonatomic, strong)id<VideoPlayViewControllerDelegate>delegate;
@property(nonatomic, strong)id<RadioPlayViewControllerDelegate>delegateRadio;
@property(nonatomic, strong)id<RadioMoreViewControllerDelegate>delegateMoreRadio;
@property(nonatomic, strong)UITableView *tableView;
@property(nonatomic, strong)NSMutableArray *dataVideoListArray;
@property(nonatomic, strong)NSMutableArray *dataRadioListArray;
@property(nonatomic, assign)SCTableViewKind kind;
- (instancetype)initWithFrame:(CGRect)frame WithType:(SCTableViewKind)type;

@end
